package com.ytjj.qmyx.admin.controller;

import com.ytjj.common.api.CommonResult;
import com.ytjj.qmyx.admin.service.ExpressService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @Description TODO
 * @ClassName ExpressCompanyController
 *
 *
 * @Version 1.0
 **/
@RestController
@RequestMapping("/expressCompany")
public class ExpressCompanyController {

    @Resource
    private ExpressService expressService;


    /**
     * @Description 获取快递公司编码列表
     *
     *
     *
     * @Version 1.0
     **/
    @GetMapping("/getExpressCompanyNoList")
    public CommonResult getExpressCompanyNoList() {
        return CommonResult.success(expressService.getExpressCompanyNoList());
    }

}
